package com.xiaoxi.open.codemodel.common.enumeration;


import com.xiaoxi.open.common.enumeration.BaseStatusType;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author xiaoxi
 * @ProjectName bms
 * @PackageName com.xiaoxi.bms.common.constant.enumeration.statuscode.user
 * @ClassName CodeModelEnums
 * @Description TODO
 * @Date 2022/11/9 9:23
 * @Version 1.0
 */
public enum CodeModelSystemEnums implements BaseStatusType {

    CODE_ID_NOT_EXIST("B120","该代码模型编号不存在"),
    CODE_TYPE_NOT_EXIST("B121","该代码模型标识不存在"),
    ERROR_READING_FAST_MODEL("B122","读取快速模型出错"),
    SYSTEM_ERROR("B123","系统异常，请联系管理员");

    private final String code;
    private final String message;

    CodeModelSystemEnums(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.message;
    }
}
